package cn.sunlelin.educationserver.service.Impl;

import cn.sunlelin.educationserver.entity.Degree;
import cn.sunlelin.educationserver.mapper.DegreeMapper;
import cn.sunlelin.educationserver.service.DegreeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DegreeServiceImpl implements DegreeService {
    @Autowired
    DegreeMapper degreeMapper;
    @Override
    public Degree selectDegreeById(Integer degreeId) {
        return degreeMapper.selectDegreeById(degreeId);
    }
}
